package jehc.djshi.common.base;

import java.io.Serializable;
/**
 * @Desc 分页类
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
public class BasePage extends BaseResult implements Serializable{
	private static final long serialVersionUID = 7255593576877669235L;
	private Integer start;
	private Integer page;
	private Integer limit;
	private Long total;
	private Object data;
	private Boolean success = true;
	
	public BasePage(){}
	
	public BasePage(Integer page,Integer limit,Long total,Object data,Boolean success){
		this.page = page;
		this.limit = limit;
		this.total = total;
		this.data = data;
		this.success = success;
	}
	public BasePage(Integer start,Integer page,Integer limit,Long total,Object data,Boolean success){
		this.start = start;
		this.page = page;
		this.limit = limit;
		this.total = total;
		this.data = data;
		this.success = success;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getLimit() {
		return limit;
	}
	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	public Long getTotal() {
		return total;
	}
	public void setTotal(Long total) {
		this.total = total;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public Boolean getSuccess() {
		return success;
	}
	public void setSuccess(Boolean sucess) {
		this.success = sucess;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}
	
}
